package com.fenghuajueli.lib_data.entity.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;

@Entity
public class MattersDbEntity {

    @Id(autoincrement = true)
    private Long id;

    @Unique
    private long create_time;

    private String matters_name;
    private long start_time;
    private long end_time;
    private String desc;
    private int type; //0:全部 1:工作 2:生活 3:个人成长 4:开支消费
    private boolean is_complete;
    private boolean is_top;

    @Generated(hash = 1113764556)
    public MattersDbEntity(Long id, long create_time, String matters_name,
            long start_time, long end_time, String desc, int type,
            boolean is_complete, boolean is_top) {
        this.id = id;
        this.create_time = create_time;
        this.matters_name = matters_name;
        this.start_time = start_time;
        this.end_time = end_time;
        this.desc = desc;
        this.type = type;
        this.is_complete = is_complete;
        this.is_top = is_top;
    }

    @Generated(hash = 329794559)
    public MattersDbEntity() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public long getCreate_time() {
        return this.create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public String getMatters_name() {
        return this.matters_name;
    }

    public void setMatters_name(String matters_name) {
        this.matters_name = matters_name;
    }

    public long getStart_time() {
        return this.start_time;
    }

    public void setStart_time(long start_time) {
        this.start_time = start_time;
    }

    public long getEnd_time() {
        return this.end_time;
    }

    public void setEnd_time(long end_time) {
        this.end_time = end_time;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean getIs_complete() {
        return this.is_complete;
    }

    public void setIs_complete(boolean is_complete) {
        this.is_complete = is_complete;
    }

    public boolean getIs_top() {
        return this.is_top;
    }

    public void setIs_top(boolean is_top) {
        this.is_top = is_top;
    }
}
